package com.book.workbench.service;

import com.book.workbench.pojo.DateRequire;
import com.book.workbench.pojo.DateReturn;
import com.book.workbench.pojo.Information;
import com.github.pagehelper.PageInfo;

import java.util.Map;

public interface InformationService {

    public Integer addInfo(Information information);

    public Integer updateInfo(Information information);

    public PageInfo<DateReturn> searchInfoBy(DateRequire dateRequire);

    public Integer searchCountInfoBy(DateRequire dateRequire);

    public Map<String,Object> getCountByDate(String date);

}
